# -*- coding: utf-8 -*-
"""
@Project: base_python
@File: btc_close_2017.py
@Author: PC
@Date: 2025/03/21
@Description: 
"""
import requests
json_url = 'https://raw.githubusercontent.com/muxuezi/btc/master/btc_close_2017.json'
req = requests.get(json_url)
# 将数据写入文件
with open('btc_close_2017_request.json','w') as f:
    f.write(req.text) 
file_requests = req.json() 